# import requests
#
#
# resp = requests.get("http://www.baidu.com")
# print(resp.status_code)
# resp.encoding = "UTF-8"
# print(resp.text)




import  requests
resp = requests.get('http://www.baidu.com')
print(resp.status_code)
resp.encoding = 'utf-8'
print(resp.text)